package demo1;

public class ClassDemo {
    public static void main(String[] args) throws Exception {
        Class<?> c1 =  Class.forName("demo1.Student");
        Class<?> c2 = Student.class;
        Class<?> c3 = new Student().getClass();
        System.out.println(c2 == c3);
        System.out.println(c2 == c1);
    }
}
